package com.halopay.controler;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author mingpingqiang on 2018/12/3/14:02
 * Created by mingpingqiang on 2018/12/3/14:02
 */
@Controller
@RequestMapping("/mpq/html")
public class HtmlTestController {
    @RequestMapping("/index")
    public String index(Map<String, Object> map) {
        map.put("user", "Tyrone");
        return "index";
    }

    @RequestMapping("/file")
    public String file() {
        return "file";
    }
}
